package com.yoda.mall.autoconfig.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author wangjia
 * @date 2022/12/16
 * @Description
 */
@Data
@ConfigurationProperties("yoda.oss")  //yml文件前缀
public class OssProperties {

    private String accessKeyId;
    private String accessKeySecret;
    private String bucketName;
    private String url;
    private String endpoint;
}
